package com.itheima.reggie.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 地址簿表单实体类
 * @author Xiao
 * @date 2021/9/29
 */
@Data
@TableName("address_book")
public class AddressBook extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long userId;    //用户id
    private String consignee;    //收货人
    private String phone;    //手机号
    private String sex;    //性别 0 女 1 男
    private String provinceCode;    //省级区划编号
    private String provinceName;    //省级名称
    private String cityCode;    //市级区划编号
    private String cityName;    //市级名称
    private String districtCode;    //区级区划编号
    private String districtName;    //区级名称
    private String detail;    //详细地址
    private String label;    //标签
    private Integer isDefault;    //是否默认 0 否 1是
    private Integer isDeleted;    //是否删除 0 否 1是
}
